package com.telchina.getui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.telchina.getui.domain.CidUidRelation;

import java.util.List;

/**
 * @Auther: zlm
 * @Date: 2023/6/7
 * @Description: com.telchina.getui.service
 * @Version: 1.0
 */
public interface CidUidRelationService extends IService<CidUidRelation> {

    /**
     * 根据uid获取cid
     *
     * @param uid
     * @return
     */
    List<String> getCidByUid(List<String> uid);

    /**
     * 更新cid和uid关系
     *
     * @param cid
     * @param uid
     */
    boolean saveOrUpdate(String cid, String uid);
}
